package com.image;

import lombok.extern.slf4j.Slf4j;

import java.util.Random;
@Slf4j
public class Computer extends User{
    private int comnum;

    public int getComnum() {
        return comnum;
    }

    public void setComnum(int comnum) {
        this.comnum = comnum;
    }

    public void printComputerResult(int computer){
        switch (computer){
            case 1:
                log.info("电脑出石头");
                break;
            case 2:
                log.info("电脑出剪刀");
                break;
            case 3:
                log.info("电脑出布");
                break;
        }
    }
}
